//
//  ShipinshouchangCell.m
//  Tour
//
//  Created by 张张烨 on 16/3/21.
//  Copyright © 2016年 张中烨. All rights reserved.
//

#import "ShipinshouchangCell.h"

@implementation ShipinshouchangCell



-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if ([super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        self.tupian = [[UIImageView alloc]init];
        [self.contentView addSubview:_tupian];
        
        self.zi = [[UILabel alloc]init];
        _zi.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:_zi];
    }
    return self;
}

-(void)layoutSubviews
{
    [super layoutSubviews];
    _tupian.frame = CGRectMake(0, 0, WIDTH, 120);
    _zi.frame = CGRectMake(0, 48, WIDTH, 30);

}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
